<?php
 
namespace models\entities;
use classes; 
/**
 * @Entity(repositoryClass="models\repositories\InboxRepository")
 * @Table(name="inbox")
 */
class Inbox {
 
/**
 * @Id
 * @ManyToOne(targetEntity="Berkas")
 * @JoinColumn(name="id", referencedColumnName="id")
 */
	protected $id;

/**
 * 
 * @ManyToOne(targetEntity="ProcedureStep")
 * @JoinColumn(name="procedure_step", referencedColumnName="id")
 */
	protected $procedureStep;	
	
/**
 * @Column(name="status", type="string", length=45, nullable=false)
 */
	protected $condition;
	
/**
 * @Column(name="jumlah_verify", type="integer")
 */
	protected $jumlahVerify;
		
/**
 * @Column(name="last_ver", type="string", length=45, nullable=false)
 */
	protected $lastVer;

/**
 * @Column(name="jumlah_approver", type="integer")
 */
	protected $jumlahApprover;
		
/**
 * @Column(name="last_app", type="string", length=45, nullable=false)
 */
	protected $lastApp;

			
	public function setId($id)
	{
	    $this->id = $id;
	}
 
	public function getId()
	{
	    return $this->id;
	}

	public function setProcedureStep($procedureStep){
		$this->procedureStep = $procedureStep;
	}
	
	public function getProcedureStep(){
		return $this->procedureStep;
	}

	public function setCondition($condition){
		$this->condition = $condition;
	}
	
	public function getCondition(){
		return $this->condition;
	}
	
	public function setJumlahVerify($jumlah){
		$this->jumlahVerify = $jumlah;
	}	
	
	public function getJumlahVerify(){
		return $this->jumlahVerify;
	}
	
	public function setLastVer($lastVer){
		$this->lastVer = $lastVer;
	}
	
	public function getLastVer(){
		return $this->lastVer;
	}
	
	public function setJumlahApprover($jumlah){
		$this->jumlahApprover = $jumlah;
	}	
	
	public function getJumlahApprover(){
		return $this->jumlahApprover;
	}
	
	public function setLastApp($lastApp){
		$this->lastApp = $lastApp;
	}
	
	public function getLastApp(){
		return $this->lastApp;
	}
}